package csel.model;

/**
 * Defines an logical map coordinate (smaller than a Tile).
 * @author david
 */
public class Location implements java.io.Serializable
{
	private static final long serialVersionUID = 6L;
	private final int x, y;
	
	public Location(int x, int y)
	{
		this.x = x;
		this.y = y;
	}
	
	public int getX()
	{
		return x;
	}
	
	public int getY()
	{
		return y;
	}
	
	public String toString()
	{
		return String.format("(%d,%d)", x, y);
	}
}
